package com.example.spring2.dao;

import com.example.spring2.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;



@Mapper
public interface UserDao {
    @Select("select * from user where username=#{uername}")
    public User getUserByusername(String username);
}
